package com.holly.service;

import com.holly.pojo.Emp;
import com.holly.pojo.EmpQueryParam;
import com.holly.pojo.LoginInfo;
import com.holly.pojo.PageResultData;

import java.time.LocalDate;
import java.util.List;

/**
 * @author holly
 * @create 2025-06-29 16:54
 */
public interface EmpService {
    PageResultData<Emp> page(EmpQueryParam param);

    void save(Emp emp);

    void delete(List<Integer> ids);

    Emp getById(Integer id);

    void update(Emp emp);

    List<Emp> list();

    LoginInfo login(Emp emp);

    //PageResultData<Emp> page(Integer page, Integer pageSize, String name, Integer gender, LocalDate begin,LocalDate end);
}
